package com.cimp.domain.iqy;

import java.io.Serializable;
import java.util.List;

/**
 * [简要描述]: 频道
 * [详细描述]:
 *
 * @author huojinhao
 * @date 2018/7/4
 */
public class Channel implements Serializable{

    private static final long serialVersionUID = 7021717165779887668L;

    /**
     * 频道Id
     */
    private int id;

    /**
     * 频道名称
     */
    private String name;

    /**
     * 频道背景图
     */
    private String backImg;

    /**
     * 频道icon图
     */
    private String iconImg;

    /**
     * 频道2K图
     */
    private String pic2K;

    /**
     * 频道图（需要加后缀访问图片），有以下几种类型：230X230, 280X280, 470X230
     */
    private String picUrl;

    /**
     * 图片规格：
     * 1 是横图
     * 2 是竖图
     * 3 是横竖混排
     * 4 是其它
     */
    private int specType;

    /**
     * 文档未说明
     */
    private int seq;

    private List<Sub> subs;

    public void setId(int id){
        this.id = id;
    }
    public int getId(){
        return this.id;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }
    public void setBackImg(String backImg){
        this.backImg = backImg;
    }
    public String getBackImg(){
        return this.backImg;
    }
    public void setIconImg(String iconImg){
        this.iconImg = iconImg;
    }
    public String getIconImg(){
        return this.iconImg;
    }
    public void setPic2K(String pic2K){
        this.pic2K = pic2K;
    }
    public String getPic2K(){
        return this.pic2K;
    }
    public void setPicUrl(String picUrl){
        this.picUrl = picUrl;
    }
    public String getPicUrl(){
        return this.picUrl;
    }
    public void setSpecType(int specType){
        this.specType = specType;
    }
    public int getSpecType(){
        return this.specType;
    }
    public void setSeq(int seq){
        this.seq = seq;
    }
    public int getSeq(){
        return this.seq;
    }
    public void setSubs(List<Sub> subs){
        this.subs = subs;
    }
    public List<Sub> getSubs(){
        return this.subs;
    }

    @Override
    public String toString() {
        return "Channel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", backImg='" + backImg + '\'' +
                ", iconImg='" + iconImg + '\'' +
                ", pic2K='" + pic2K + '\'' +
                ", picUrl='" + picUrl + '\'' +
                ", specType=" + specType +
                ", seq=" + seq +
                ", subs=" + subs +
                '}';
    }
}
